﻿using JTTD.Common.Enum;
using System;
using System.Collections.Generic;
using System.Text;
using JTTD.Common.Helper;

namespace JTTD.Domain.Dtos.CompanyUserInfo.Response
{
    public class GetCompanyUserInfoDto:BaseResponseDto
    {

        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// 密码
        /// </summary>
        public string Password { get; set; }

        /// <summary>
        /// 用户类型（0普通用户，1店家，2商城管理员）
        /// </summary>
        public UserTypeEnum UserType { get; set; }

        /// <summary>
        /// 联系方式
        /// </summary>
        public string Phone { get; set; }

        /// <summary>
        /// 微信openId
        /// </summary>
        public string OpenId { get; set; }

        /// <summary>
        /// 入驻时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 头像链接
        /// </summary>
        public string HeadUrl { get; set; }

        /// <summary>
        /// 审核状态
        /// </summary>
        public AuditStatusEnum AuditStatus { get; set; }

        /// <summary>
        /// 审核状态字符串
        /// </summary>
        public string AuditStatusStr => AuditStatus.GetDescription();

        /// <summary>
        /// 楼层
        /// </summary>
        public int Floor { get; set; } = 1;

        /// <summary>
        /// 店铺地址
        /// </summary>
        public string Address { get; set; }

        /// <summary>
        /// 店铺类型
        /// </summary>
        public string ShopType { get; set; }

        /// <summary>
        /// 商户简介
        /// </summary>
        public string ShopDetail { get; set; }

        /// <summary>
        /// 是否关注
        /// </summary>
        public bool Attention { get; set; }

    }
}
